package com.winning.pmph.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.winning.pmph.entity.FlowChart;
import com.winning.pmph.entity.ReleasedFlowChart;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author admin
 */
@Mapper
public interface FlowChartMapper extends PMPHBaseMapper<FlowChart> {

    /**
     * 查询同步列表
     *
     * @param page
     * @param releasedFlowChart
     * @return
     */
    Page<ReleasedFlowChart> querySyncList(@Param("page") Page page,
                                          @Param("releasedFlowChart") ReleasedFlowChart releasedFlowChart);

    Page<FlowChart> queryFlowChartList(Page page, FlowChart flowChart);
}

